Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

Compress(Byte[],Int32) Method








Array of bytes that holds the data to be compressed.
Index into data where the data starts.
Performs buffer-to-buffer JPEG or LEAD CMP compression.
Syntax
public void Compress( 
   byte[] data,
   int dataIndex
)
'Declaration
 
Public Overloads Sub Compress( _
   ByVal data() As Byte, _
   ByVal dataIndex As Integer _
) 
'Usage
 
Dim instance As RasterCodecs
Dim data() As Byte
Dim dataIndex As Integer
 
instance.Compress(data, dataIndex)
public void Compress( 
   byte[] data,
   int dataIndex
)
public void compress(byte data[], int dataIndex)
 function Leadtools.Codecs.RasterCodecs.Compress(Byte[],Int32)( 
   data ,
   dataIndex 
)
public:
void Compress( 
   array<byte>^ data,
   int dataIndex
) 

Parameters

data
Array of bytes that holds the data to be compressed.
dataIndex
Index into data where the data starts.
Remarks
You must call StartCompress before using this method, and you must call StopCompress to end the compression process. For a description of how these methods work together, refer to StartCompress.
Example
For an example, refer to StartCompress.
Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List
Compressing and Decompressing Buffers
Speeding Up 1-Bit Documents

Error processing SSI file